<?php get_header(); ?>

<div class="banner screen">
        <!-- banner -->
        <div class="swiper-container banner-swiper-container">
            <div class="swiper-wrapper">
                <?php $mypost = array( 'post_type' => 'type_slideshow', 'posts_per_page'=>5, 'order' => 'ASC');$loop = new WP_Query( $mypost ); ?>
                <?php  if ( have_posts() ) : while ( $loop->have_posts() ) : $loop->the_post();?>
                <div class="swiper-slide">
                    <a href="javascript:;">
                        <img src="<?php $src = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID),  false, '' ); echo $src[0]; ?>" class='banner-image'>
                    </a>
                    <div class="title">
                        <p><?php the_title(); ?></p>
                    </div>
                </div>
                <?php endwhile; ?>
                <?php endif; wp_reset_query(); ?>
            </div>
        </div>
        <!-- 分页器 -->
        <div class="pagination">
        <?php  if ( have_posts() ) : while ( $loop->have_posts() ) : $loop->the_post();?>
            <div class='pagination-box'>
                <img src="<?php $src = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID),  false, '' ); echo $src[0]; ?>" alt="<?php langEcho($post->post_title); ?>">
                <div class="pagination-text hot"></div>
            </div>
        <?php endwhile; ?>
        <?php endif; wp_reset_query(); ?>
        </div>
    </div>
<div class="screen introduction-box">
        <h3><span class='screen-two-title'>COMPANY PROFILE</span></h3>
        <?php if (qtrans_getLanguage() == 'tw') {?>
            <h3 class="title-cn">公司簡介</h3>
        <?php } else { ?>
            <h3 class="title-cn">公司简介</h3>
        <?php } ?>
        <div class="introduction">
            <p>心元资本在 2010年由天使投资人郑博仁先生创立。6年来已投资超130家公司总额超18亿美元， 致力于“成为下一个伟大公司的早期投资者”。</p>
            <h3>郑博仁 / 心元资本创始执行合伙人</h3>
            <p>超過16年的中美投资和创业经验，连续4年评为中国40岁以下最优秀的早期投资人、天鸽互动最早期投资人和首席策略⻑、“玩图”创始伙伴。曾投资最大跨境电商之一Wish、物流创新公司Flexport，超高速铁路Hyperloop One，同时和美国一线基金Peter Thiel的Founders Fund、Google的GV创投与红杉资本均有合作。</p>
            <h3>滑雪 / 心元资本合伙人</h3>
            <p>作为国内少有的女性投资人，特别关注消费升级项目，包括国内首家跨境食品电商平台“鲜Life”、设计师对接平台“特赞”、月子会所“月来悦好”、金蛋理财、无人便利店等，因善于创始公司的投后服务，被称为“创始人的保姆”。</p>
        </div>
        <div class="introduction-img">
            <img src="<?php asset('statics/img/introduction.png'); ?>" alt="">
        </div>
</div>
<div class="screen screen-three container">
        <div class='projects row'>
            <ul>
                <?php $mypost = array( 'post_type' => 'type_slideshow_com', 'posts_per_page'=>6, 'order' => 'ASC');$loop = new WP_Query( $mypost ); ?>
                <?php  if ( have_posts() ) : while ( $loop->have_posts() ) : $loop->the_post();?>
                    <li class='project'>
                        <div class='project-logo'><img src="<?php $src = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID),  false, '' ); echo $src[0]; ?>"></div>
                        <div class='project-text'>
                            <h3><?php the_title(); ?></h3>
                            <p><?php the_pure_content(); ?></p>
                        </div>
                    </li>
                <?php endwhile; ?>
                <?php endif; wp_reset_query(); ?>
            </ul>
            <?php if(false) {?>
                <div class="swiper-container projects-swiper-container visible-xs-* visible-sm-* hidden-md hidden-lg">
                    <div class="swiper-wrapper">
                        <?php $mypost = array( 'post_type' => 'type_slideshow_com', 'posts_per_page'=>6, 'order' => 'ASC');$loop = new WP_Query( $mypost ); ?>
                        <?php  if ( have_posts() ) : while ( $loop->have_posts() ) : $loop->the_post();?>
                            <div class="swiper-slide">
                                <li class='project'>
                                    <div class='project-logo'><img src="<?php $src = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID),  false, '' ); echo $src[0]; ?>"></div>
                                    <div class='project-text'>
                                        <h3><?php the_title(); ?></h3>
                                        <p><?php the_pure_content(); ?></p>
                                    </div>
                                </li>
                            </div>
                        <?php endwhile; ?>
                        <?php endif; wp_reset_query(); ?>
                    </div>
                    <div class="swiper-button-prev"></div>
                    <div class="swiper-button-next"></div>
                </div>
            <?php } ?>
        </div>
    </div>
<?php if(false) { ?>
<div class="screen screen-four">
        <div class="founder" style="width: 500px;height: 400px;">
            <div class="swiper-wrapper">
                <?php $mypost = array( 'post_type' => 'type_creater');$loop = new WP_Query( $mypost ); ?>
                <?php  if ( have_posts() ) : while ( $loop->have_posts() ) : $loop->the_post();?>
                <div class="swiper-slide">
                    <div class='brief'>
                        <h3><span class='name'><?php the_title(''); ?></span><span class='job'><?php the_excerpt_without_p(); ?></span></h3>
                        <p><?php the_content(''); ?></p>
                        <a href="" class='more'><span hidden>more</span></a>
                    </div>
                    <div class='founder-img'>
                        <img src="<?php the_post_thumbnail_src(''); ?>" alt="<?php the_title(''); ?>" >
                    </div>
                </div>
                <?php endwhile; ?>
                <?php endif; wp_reset_query(); ?>
            </div>
        </div>
    </div>
<?php } ?>
<?php get_footer(); ?>
</body>
</html>
